/**
 * @description: 全局指令
 * @author: lxz
 * @update: lxz(2021-01-18)
 */

// import clipboard from './clipboard'
// import elDragDialog from './elDragDialog'
// import waves from './waves'
import permission from './permission'
// import sticky from './sticky'
import inputNumber from './inputNumber'
// 指令列表
const directiveList = {
	// clipboard,
	// 'el-drag-dialog': elDragDialog,
	// waves,
	permission,
	inputNumber
	// sticky
}
// 导出初始化方法
export default vue => {
	// 全局指令初始化
	Object.keys(directiveList).forEach(v => {
		vue.directive(v, directiveList[v])
	})
}
